<table width="95%" border="1">
<tr><td>
<form  name="form1" method="post" action="<?php echo BASE_URL;?>amistades/buscar/">
<input type="text" name="query" /> 
<input type="submit" name="button" id="button" value="Buscar" />
</form>
</td></tr>
</table>